SIprefix2factor(prefix) simplified, and other function made ThreadSafe