Added @SafeVarargs to methods that needed it

This suppresses the warning that we are potentially polluting the heap.  Java can't actually tell at compile time whether those methods are safe from such pollution, so it's up to the programmer to check and manually type the thumbs-up