Added a check for additional parameters to cacheSolve