A prompt confession and apparent remorse helped a former MIT researcher to secure a lighter sentence.