Added change of reference function and doc
Merge pull request #5 from KaiSmith/master

Change Reference