Added Automated method for finding the model parameters.
Removed the array containting the custom model parameters.