Using mat3_mulv with the same input/output vector creates undesired results. Respective mat4_mulv function provides temporary vec3 'res'. Updated this function to match behaviour of mat4.