Use power alias (^).
Remove from clause creating ambiguous loop construction.
Adding spaces and feature header convention.
Update sum of square example.