Added precision reduction to 3 decimals.
Fix bug with parenthesis