Add new utils/type method coordsArrayToMatrix()

This new helper function converts an array of JXG.Coords instances into a plain coordinate array.