Angular basis functions formulation for 2D potential flows with non-smooth boundaries. (December 2015)