added PerformanceAnalytics with modifcations for marginal var to accept parameters and for var with weigths > 1