Replaced calls to ceilf (msvc extension) with ceil - fixes build