merged changes to dither parameter inputs