Returns an instance of Vec4 with the given list of coordinates.
If the size of the list of coordinates is different than 4, IllegalArgumentException is thrown.