Remove filter functions from Math.cs. Implement correct delay for stimuli in visualization.