implemented nesterov trainer (some typo fixes)