likelihood calcs and gridding