Adding Variance

I couldn't decide if I wanted to wrap your library and add variance, or just add variance to your library.  (Which means feel free to reject this pull request if you'd rather not have it)

In any case, I've added unit tests, and gave you a code review... it looks good ;)