Fixed: Optimize Rectangular Gaussian Mask
Recommits the previous implementation but adds missing header file