fixing getQuantiles() round bug (issue #20)