2D hemisphere basic layout
matlab helper functions