added transform function to vector4f