Final v1.1

bug fix: direction of major axis wasn't properly plottted.