Add example_number to "You have a NAN!!!" error to be more user friendly.
Also move it from cout to cerr.
Slightly more informative error
Merge pull request #213 from arielf/master

Add example_number to "You have a NAN!!!" error to be more user friendly...