PaleoBayes code