krome rotation_settlement.m vse v puvodni myslence
rewriten for individual workspaces
restructuralize, and start of my code - segmenation