Added the ability to change the lambda weights of a cached matrix in the flow solver