- fixed a bug in SimpleMatrix