Update Planb.py

verified functional 9/24