Added new basicmath

It has a functionalsafety library