Undiscounted control policy generation for continuous-valued optimal control by approximate dynamic programming - Lock, Jonathan; McKelvey, Tomas (International Journal of Control UCPADP Matlab implementation, 2022)