Learning vehicular dynamics, with application to modeling helicopters