WIP Zonal ops in spark

Work in progress for zonal operations for the spark sub-project. Also some minor formatting around the local spark ops.