
Chunkify creates a new function that operates on a ff vector.
It creates chunks from the ff vector and calls the orginal function fun
on each chunk.
chunkify(fun)
function to be 'chunkified', the function must accept a vector and
return a vector of the same length
'chunkified' function that accepts a ff
vector as its first argument.