Electronic structure and electric-field gradients for YBa2Cu4O8 from density-functional calculations.