removed changes linked with transforming variables to avoid log or
power of negative numbers