The Navier-Stokes equation with distributions as initial data and application to self-similar solutions