Rewritten vector math, render and collision modules.