Solution to Inverse Matrix