<p><pre><code>    def sum = series.map(_.sum).foldLeft(0.0)(_+_)
</code></pre>
Gah, no, stop.  Remember, kids: everytime you use naive map-reduce for floating point arithmetic operations, God kills a kitten.