add parameterize function to lib/kpoints.jl