Fixed instructions and added dist. formula