fixed build.sh
fixed hsv conversion of pure black
added a grayscale to tests
version