vc2010 configuration added
 debug usability added
make rotate alg. faster