fixed stationary_distribution signature
updated random walk generator