Update option parsing to be more flexible.
Better option handling.
Add transpose function.