Fix var. See gh-issue-435.
Add regression test for gh-issue-435
Fix white space, pep8, and address @kwmsmith's comments.
Add targets to regression test.
Merge pull request #438 from cowlicks/fix-var

Fix `DistArray.var` with different sized localarrays (closes issue 435)