added scalacheck dependency to sbt project
variable refactoring
added 1D crowding distance tests