Zonal ops in spark

Finished work for zonal operations for the spark sub-project. Also some minor formatting around the local spark ops. 

Could need a quick eye so that nothing is funky.