Predicting the external formation of a bone fracture callus: an optimisation approach