cost learning now works with given action parameters. Still need to figure out how to incorporate original state and which action parameters to abstract over.