Added multiplicity.py and updated work on imf.py