Main form now allows selection of algorithm