Some unfinished porting of MATLAB separable kernel code