Added ratio() tests
Added ratio()
Improved documentation
Incremented version