Added the perspective divide function.