PID control library for Spark Core