small fix
Merge branch 'pp' of github.com:toxa81/sirius into pp
fixed a bug with d_mtrx construction; more improvements