Maurizio De Pitta'
equilibrium.m -> locateBP (line 306) :: does not return v if condition is not verified.
Suggested dummy solution: take the assignment of v out of the if condition.
Sorry for this late answer. You are right and this will be changed accordingly in release 5.0.