Fixed the lab-algorithm
Merge pull request #30 from donnell74/capacity_logic

Fixed the bug in the lab-algorithm constrainst, merged on 24 hour rule