Removed I*R
Gamma function for variance
reformated output data, removed Std