Cleaning up SimpleMatrix