The Minimum Distance of Linear Codes and Fat Points