added guessing of indentation to emacs
Refactored .emacs and fixed clever comment function