Utilize NuPIC to balance an inverted pendulum