PERF: moved performance calculation out of inner loop

lazy loading for portfolio
less repeating in performance period updates
MAINT: stray comment and edited update_portfoio for clarity.
STY: past tense for portfolio mutator