The TP02 model code is now in a semi functional state.

The lib.dispersion code has been fixed to properly handle the data it receives and the target
function code has been updated to pass in the correct data.