Various Bug Fixes

Fixed memory labels and multiply/divide mixup.