added base code to spacialbin, added s2n method so samplepoint
reorganized into seperate Spectrum object