Added density weighting to lookupTable3.py