- Added some documentation
- added rounding to integer