cleanup commented code
refactor loops. increased speed significantly. added loop benchmarking method that mutes output