Changed round() and splitIterator() to local

It looked like these two functions were mistakenly global rather than local.