implementaion of matrix inverse cache done, comments pending