Added Logic to find out if a point is inside boundary or not