fixed riskcontrib and diversification bug
Merge remote-tracking branch 'origin/master'