fixed bug with integer/double mix up
faster preprocessing, better way to avoid nan in makeStruct
function is not used anymore
rewrote loop mostly with bsxfun
removed (expensive) method call
added unnormed color to struct for easier lookup
rewrote writeback into bin_import
Revert "rewrote loop mostly with bsxfun"

This reverts commit f97c136ed293ccfc347d71ce484093449c1b0ce0.