Code optimization

Merge branch 'master' of https://github.com/kablag/RDML

Conflicts:
	R/RDML.R
Code optimization