changed algorithm, now works with larger dimensions
removed old to-string fns
added criterium dependency, removed quil
refactoring. it's fast now