Modified GetComplexity for readability.

Also, re-indented based on VS2013 auto-format