Lab 2 for SENG 5831: PD controller