Added earth spin rate calculation