Update kmin_test and add .gitignore

Here's a couple of trivial updates which fix kmin_test to match the recent creation of kmath and adds a basic .gitignore file.