Removed warnings from compilation
Removed OpenMM licence chunks from the top of files
Fixed bug with S matrix being calculated incorrectly