Fixed bug in model equation.
Created script that converts and fits the model to actual data.