[Mat4] Generate double version