importing some code from valy
all valee's code is here, vdisparity algorithm parameters still need to be found