Added prefix argument to dummify and started fixed some bugs with character variables