Minor updates for some glsl sugar in math classes, and updated vsh emulation for lines.