Format code with astyle.

Format code using the astyle tool for consistency.