Several changes to work with cpp, added test file, updated README, makefile etc
Added skew angle computing function. tested with test.cpp.