A method to calculate the local density distribution of the Galaxy from the Tycho-Gaia Astrometric Solution data. Issue 2 (25th September 2017)