make frequency feature optional

Also changed the key stroke detection into each individual axis