Changed source from randn to rand. Everything works. Only ECC missing