Added mathn.rb from 1.8.
Bumped version to 1.0.0.