Kpoints class: Input validation