Tinkering with local spark jobs. Need to fix optimizers so they actually converge.