Fixed small bug in functional map for rhwatch