Added handin code
Report retouched and small comment about weight on external energy added