added solve.mag() function
added parameters for resolved model