Added function stubs for building the edges from the image matrix, fixed minor bugs in ff.main, filled out runIS