The properties of iron under core conditions from first principles calculations