Update cachematrix.R

removed warning from cacheSolve function
changed IF statement