mapCoordinatesToValue: Map arbitrary numeric vector to a given range of values.
Description
From a given numeric vector z the range is determined and
the values are linearly mapped onto the interval
given by val.range. This
funtion can be used in order to map arbitrary vectors to a given
range of values.