Fixed molecule size calculation.
Minor build issues fixed.