Removed emply lines
Removed spaces from inside brackets
Fixed AlignArray offences
Use `fail` instead of `raise` to signal exceptions