bugfixing started: printf %f problems and spectrum imports