added methods for the calcluation of the adjoint and the inverse matrix