Moved signum function for computing screen shaking intensity from method in main to local function in draw. Minor improvement to signum function always return non-zero.