Completed the positioning formulas for tps and clock.