added alg flag to dsyrk_dpotrf & worked on ric mhe