added comments
Added watermark position calculator