Fixes minor issues with new Numpy versions, issues with stacking, and general clean up.
This fixes issues with newest numpy >2.4 and also does abit of clean up. Provides better messages on cost manager.
This fixes issues with newest numpy >2.4 and also does abit of clean up. Provides better messages on cost manager.