added .swp files to gitignore
added non-regularized cost function