Added Density Scaling

This function scales the density function, f(t,x), so that we can look
for self-similarity.