raise error in prod() instead of silently returning None
Merge pull request #27 from argriffing/master

fail less silently in prod()