merge w. giulio (master)

Would it make sense to generalize all scaling schemes by passing a vector with directions?