Finall comments and small changes. Added RDF and Variance Calculation