Small changes to bool functionality. Testing on bealgebone now.