add map algebra prep script for DaVinci inputs