Simplified keybindings initialization, using stdlib functions, unusing math functions.