Transmission fluids with poor cold-flow characteristics might thicken in cold weather. This results in hard shifts that last until the fluid has warmed up enough to flow properly. It will get better if you switch to a premium synthetic transmission fluid. Rough shifting may also be caused by sensors that are malfunctioning or receiving inaccurate data.