- solve function is optional for linear models
- user doesn't have to give innerProducts functions, but he has to specify the associated matrix
- run function is optional
up #283