Statistics for Tailoring of structural and optical properties of silcon nitride thin films for photovoltaic and plasmonic applications