add function PX TO EM, REM to core