bug fixes and typos
Merge branch 'master' of https://github.com/SoftwareDefinedBuildings/upmu_algorithms