UNDERWRITING AGREEMENT between xG TECHNOLOGY, INC. and AEGIS CAPITAL CORP., as Representative of the Several Underwriters February 8, 2017