Added solar abundances [ci skip]
Refactoring, creating function for stellar parameter optimisation
bug fix