lib: add more test pictures
lib: add sdiff_perp code, add nu_b correction