Fix typo. Closes #19.
Make whitespace and line endings consistent

No hidden whitespace. Every line ends with a newline character.
Use dot parens notation instead of getfield and setfield
Improve style throughout experiment code
Minor misc changes
Fix merge conflict