Matrix Inverse - Lexical scooping

This function - a pair of functions to compute inverse of matrix and
cache the inverse of matrix.