bspline works now, added brainmask
added options for step size and number of steps