Fix a /0 bug.
Update version to 1.0