dimensionalityreduction plotting adjusted to new syntax
merged plotting and input_dim