System and Method for Simultaneous Measurement of Nitrogen Content and Uniformity of Nitration of Nitrocellulose