Patients were randomised into 3 groups : computer-assisted surgery for both the femur and the tibia , intramedullary guides for both the femur and the tibia , and an intramedullary guide for the femur and an extramedullary guide for the tibia .