added individual penalties function for all other solvers. Tests passing for all of them