Fixed bug with clean beam calculation
Merge pull request #4 from henrikju/master

Fixed bug with clean beam calculation