Fixed so-called "vpu" calculations

The old vpu calculations were stupid and didn't make any sense. After I
worked it out on paper, this is much better.