A radial basis function method for solving optimal control problems.