An algorithm to compute the parameters that maximise distance a stone dropped from an aeroplane can travel