DMelt example: Random distribution according to a analysic function