Now works in the shape of a triangle instead of a circle. Makes better treatment of points around angles