Got a tuned portfolio generator working.