implementation of svoboda method for neuropil subtraction
code is complete but not fully tested