Added noise_variance_ calculation and docstring