Computer modeling of a knee for surgical planning