Added johnsonSolver class