Can set number of steps.

The m array is now set from M0 and N dm steps away from outer edge.
Corrected error in setting of m array where wrong linspace args were given.