Real-time Biomass Characterization in Energy Conversion Processes using Near Infrared Spectroscopy : A Machine Learning Approach