Calculation of essential drug conformations and electron distributions