Bug in initial position of COM and debugging in general.