A novel numerical approach to the closure of the 6-6 Stewart platform mechanism