added rounduint64() function to round payment calculations ala Masterchest & Omni