ProgrammingAssignment2 Update

File updated to cache inverse computations that take a large amount of
time.