Update tweenFn, throw error if tweenFn is not a function
Remove min, annoying at the moment