FFixed compile warning.

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>
* Refactoring of code and added more blind functions.

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>