analyzing and comparing montgomery multiplication