Microprocessor controlled centrifuges