Multiple function problem solved. Some temporaries are returning null. Have to find out why.
Merge branch 'develop' of https://github.com/Sable/mclab into develop