Renaming parameters filtergain => gain, filtertype => type. Closes #360