added comments to the functions in the orbit folder