Fixed minor problem with k-point generation.