revert back before adding APSdata, now update to the current version with fixed bug in sfun_Tensor2.m