fixed method typo of references

fix misspelled method call which causes an AttributeError when using %references line magic.
Merge pull request #4 from krockode/patch-3

fixed method typo of references