found gradient, completed non-maximum suppression, need to work on smoothing and hysterisis