This could probably fit on one line, but if it doesn't, do
```
def run(
    input: RDD[LabeledPoint],
    initialWeights: Array[Double])
  : M =
{
```
(that is, move the brace down onto a line by itself)