[FIX] bugfix for matldivide memory overhead