Why do cows have four teats?

Twins are not all that uncommon and when nursing, it's good to have an alternate as calves can nurse quite vigorously.