Problems with Java Vector API to sum a list of doubles I implemented three naive sum methods (in scala) which act on an Array[Double] (or double[])