removed bug in variance. Added Copyright and License information. Used spaces instead of tabs to adhere to the Boost guidelines.