Added comments on calculating required clock frequency.