Add simple benchmark for math libraries