Update structuralmodels.py

return correlation in all cases
Merge pull request #22 from fransua/patch-1

Update structuralmodels.py