Analytical Solutions of Temperature Distribution in a Rectangular Parallelepiped