Scales now automatically generated

Each column can now have a unique scale.