Replaced scalaxy loops with spire's cfor
Remove scalaxy dependency.
Merge pull request #810 from lossyrob/replace-scalaxy

Replaced scalaxy loops with spire's cfor
Merge in upstream