Tidying and beginning implementation of StandardBayManager calculation