added general matrix prototype, replacing the 2 x 2 prototype previously implemented.