add matrix class