Matlab Routines for Refinable Functions/Vectors