now the num_bases is related to how long the gesture is. also, debug mode variable set to not publish markers and print less