Better vlad function
Add automated testing. I think.