reduce nested vector logic

Refactor multiple logical statements with numpy reduce. Testing
tomorrow.