Fix use of TimingFunction in demos after e41be2ee
Merge pull request #171 from steveblock/timingFunction

Fix use of TimingFunction in demos after e41be2ee