Fixes #155 and fixes #171

Adds the option to flip the axes directions (#155) and fixes the axes labels not changing when changing the axes (#171)