remove unnecessary bsxfun/tsxfun tests