added scalar_within_poly.py