Corrected digital filters by changing low pass to high frequency and high pass to low frequency and also updating the booleans to switch them on or off.