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