Modified stats functions

Added Var/Varp with basic Variance calculation as well as StDev/StDevP
calculations.