Another tiny fix for both programs

Fixed problem with negative mua or mub