2x faster
all 6 derivatives implemented in C, and work
they are not general enought yet, just for the current pair of photos