kazmath library embedded