Your cold water will rise as it heats and then drop again as it cools/hotter water replaces it, so for an even distribution of heat the middle of the tank will actually be the best place to put it, ( think of water circulating in the tank) the downside of this is you will only be able to heat a full tank of water which is why items such as electric kettles have their elements at the bottom.