updated matrix name

changed function(solve) to function(invmtrx) for clarity