added efficient power calculator function
47,49 solved