Propagation Cost completed

- Divsion bug error fixed. Tested with an example dsm