changed the way of tracking if a new bobbel has to be generated
changed calculation of loop number
added a sawing tooth spawner