Modified the dim dimensions to (None, 4) to allow the user to change number of points in the GUI.
THe first dimension was used as a counter, the last 3 dimensions is for x,y,z position.
This is for the user function dx.map.
Authored by: tlinnet 2014-05-28
Parent: [r23507]
Child: [r23509]