A multilayer perceptron hazard detector for vision-based autonomous planetary landing