cache matrix v2

changed .. to y in set function