Vectorize quick_floor, made imod branchless, use vectorized quick_floor
in perlin_periodic, vectorized transform_direction, added vector
float_to_int implementations.