Minimal implementation of WSABI_L and WSABI_M in MATLAB.