This function applies a Mapping to transform the coordinates of
a set of points in an arbitrary number of dimensions. It is the
appropriate routine to use if the coordinates are not purely 1-
or 2-dimensional and are stored in a single array (which they
need not fill completely).
If the coordinates are not stored in a single array, then the
astTranP function might be more suitable.