fixed failing test for atan
added generic swizzle function for larger vectors