Bug fixes from playing with DrakeFunctions

Fixes some typos.