slight efficiency gains on function loop
code clean up
sub function breakouts
sub function breakouts for all stat packages
removed parallels, optimized loop