add wattage calculation and an MPPT tracking routing
convert to using arrays for the four directions