Added rounding and added the properties to the compression function.
Merge pull request #49 from Ribosoft/Gabriel

Added rounding and added the properties to the compression function.