updating .m to support front facing camera capture and round layer masking