roundn for versions of matlab which do not include the function