Created working functions to create cache matrix object and to return the inverse for such an object from cache or by direct calculation