unnecessary modules removed
1. check_keyboard function moved to generic, 2. Precalculating movingshape stimulus duration