a stock portfolio optimizer using modern portfolio theory