Two dimensional cost plugin more debugging and testing