Length minimising bounded curvature paths in homotopy classes