Function discreteMultiLevel now return an weighted average as it does in the Costanza Article.
Major bug found in trajectory 2, check the print x2 and y2 messages, it was supossed to be the same ones as in the trajectory 1, however it's completely different .