TreynorRatio function

calculate Treynor Ratio or modified Treynor Ratio of excess return over CAPM beta