remove cgmath dependency