Added a function "norm2"
Implemented a second more complicated room map weight function