changed some syntax
fixed accumilating error in trajectory loop

calculates the position by doing forward kinematics on the previously
calculated joint angles
gitignore updated to ignore csv and log files