Fixed segfaults that occur due to incorrectly assigning variable indices as variables
Merge remote-tracking branch 'dzamkovZKP/master'

Conflicts:
	sig.c