enabled parallel threads, removed globals
started computing feature weights
saving dependencies per channel
using doubles again for use with mi library
reintroduced iter_step for use in weighting features
removed index from neighbourhood and refactored normalizing of neighbourhood