double matrix support for WRATHglUniform