fix bug  with multithreading in ToGrayScale function
add ZedGraph lib