Note need to consolidate elwise functions
Checkpoint. Still trying to get slicing to work properly
Testing cleanup