More refactoring

Removed redudant curly brackets
Removed Map from Curve class
Added PowerData struct to replace by ref pass in PSU interpolation
Renamed variables starting with _ to match general style
Updated todo