MATLAB routines for scientific computing