extra/gts: initial commit

Currently seems not to build without explicitely adding -lm to LDFLAGS.

Signed-off-by: Paul Burton <paulburton89@gmail.com>