add input dimension check on fprop, modify build option
modify vcxproj
improve i/o and debug functions