Epsilon-ritz method for solving optimal control problems: Useful parallel solution method