attempts to address #45 by cocering parameters to expected shapes in python