fixed some typos and organized the comments in a better way, also fixed the error with sharpening filter