Fix N matrix into W