new reference and my additiosn
Merge branch 'master' of https://github.com/spall/advalg
merging mine and scotts work