Moving Error Functions into Common Static Lib