added nearbyint and round functions