Added spectBins.c and .h with bin processing functions