Simplified computeMST.
issue #8
Assigned null to array elements to work around a bug in the checker.
cascade/issues/53