Added rotation angle calculation.
Explicitly defined array size for rotation angle calculation. For Great Justice.
Clarified calc_rotation return value. Made a proper logic loop.
Merge branch 'master' of https://github.com/domewolf/raspimobot

Conflicts:
	src/logic.c
	src/main.c
Started implementation doc.
Merge pull request #20 from jesseniemisto/master

Started implementation doc.
Removed useless diff division by 3, fixed typo in calc_rotation, changed diff threshold to 50 (empirically tested to be somewhat good).
wiringPi stub library and cmake funzies. atleast it builds :D
Merge branch 'master' of https://github.com/domewolf/raspimobot