fixed spelling error and the params error. Idun goofed

@caseysampson @jdegraad