minor changes to latex and code
Merge branch 'develop' of github.com:blaavogn/bdsa into develop