Adding setNullSpace. Adding magicNumber checks