DK: updated secrgam.fit to fit tensor and univariate spine models for density, added fxi.secrgam, updated prep4image to deal with non-rectangular mask, changed x-y coorindates of Borland data to metric units