temp fix for edge detect out-of-bounds
changed a few import statements