Tests and sample code of various math libraries