added type casting to float64 for wraith fits