adds test_numerics unit and librt detection

adds test/numerics.C to test speed of swap and sign operations
edits configure.ac to detect librt
edits Makefile.am to add test_numerics