I am pretty sure this is THE ANDROID OF NOTRE DAME (1989) which is one of the infamous Guinea Pig series. The trailer below is kind of murky, but it has the leg saw sequence in it, and the head with wires. This one is on a double feature with the 1st episode THE GUINEA PIG.