initial import of old lusol matlab code
remove currently unsuported routines
WIP: porting old lusol_mex code