Normal form transformation