Added templates for int- and long-based vectors to Spout Math.
Also, fixed some tests of float- and double-based vectors.

Signed-off-by: Wolf480pl <wolf480@interia.pl>