Matlab version compatibility changes
-- screen -> Screen
-- getSecs -> GetSecs
-- use rng