Fixed up the blendSteering() function and moved it to misc.js so it can be used outside of flocking.