Changed goal photosensor from digital input to analog trigger.