Matlab Routines for Regularity of Refinable Functions/Vectors