fixed bug which set weights to a type list rather than a map.
version 0.75 - IPF-calculation and weight-assignment bug-fixes.