Added new BC math functions