Read Shake Time

Read the stored shake time from the database and then do the
calculations