added functionality to convert inverted shapes to normal shapes #10