should be working

lots of changes and imrovements
including hydro power
not allowing negative allocation in the code