Real Time Clock initialization function