added option for interpolation of masspoints to doSM