Update Sidereal-Clock.ino

Fix a fencepost error in the TEN_BASED_CLOCK code. Refactor the sidereal code so that it's more generic and can be used for the
martian clock too.