fix incorrect function name in appendElements
Merge pull request #121 from stevenschobert/master

Fix incorrect function call in appendElements