Added solveSweep() to solve for a whole parameter range