Python implementation of Modern Portfolio Theory