Updates to OrienetedGaussianPartsLayer.

Fixed bugs and added channel_mode.