replaced scalaxy-loops with spire cfor

This is a back-port of changes in 0.10 to allow 0.9 branch to continue to function. The scalaxy-loops snapshot assembly is MIA.