24/06/2014 -- Revised the guidedfilter to make it more readable