Add optional parms to call to solve function

Since cachematrix accepts optional parms added optional parms to call
to solve, as supported by solve function.