Add threshold function, fix convolution function to output different image type than it did previously
Add threshold function, fix convolution function to output different image type than it did previously

get9/sipl