Add Inverse of Matrix and some useful tools